package com.wnx.job.common.mapstruct;


import com.wnx.job.modules.jms.dto.PostParam;
import com.wnx.job.modules.jms.model.JmsPost;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author wangnaixing
 */
@Mapper
public interface PostMapper {
    PostMapper INSTANCE = Mappers.getMapper(PostMapper.class);

    JmsPost toPojo(PostParam postParam);

    List<PostParam> toDtoList(List<JmsPost> postList);



}
